package com.yuhanginfo.modules.web.dao;

import java.util.List;

import com.yuhanginfo.common.persistence.TreeDao;
import com.yuhanginfo.common.persistence.annotation.MyBatisDao;
import com.yuhanginfo.modules.web.entity.WebArea;

/**
 * 区域DAO接口
 * @author YuHangInfo
 * @version 2014-05-16
 */
@MyBatisDao
public interface WebAreaDao extends TreeDao<WebArea> {

	List<WebArea> areaStoreList();
	
	WebArea selectAreaByCode(String code);
	
	List<WebArea> getProvince();

	List<WebArea> selectByParent(String parentId);

	List<WebArea> selectProvinceList();
	
	List<WebArea> findAreaByUserId(String userId);

	List<WebArea> cityList(String id);

	List<WebArea> areaList(String id);
	
}
